package example1;

/**
 * <h3>designPattern</h3>
 * <p>Stra1Test</p>
 * @author : zhang.bw
 * @date : 2021-02-25 16:01
 **/
public class BuildTest {

	public static void main(String[] args) {
		// 指挥者（装机）
		Director director = new Director();
		// 具体建造者 具体的装机人员
		Builder builder = new ConcreteBuilder();
		director.Construct(builder);
		// 组装完成
		Computer computer = builder.getComputer();
		computer.print();
	}

}
